package com.sc.nft.admin.request;

import com.sc.nft.dto.ADDEcologyIncomeDetailsConfDTO;
import com.sc.nft.dto.ResonanceServiceCenterCoefficientConfDTO;
import com.sc.nft.enums.EcologyHatchShareProfitMethodConfTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class ADDEcologyIncomeConfRequest {

    @ApiModelProperty(value = "生态铸造配置id")
    @NotNull(message = "生态铸造配置id不能为空")
    private Long confId;

    @ApiModelProperty(value = "市值管理平台不分成份数")
    @NotNull(message = "市值管理平台不分成份数不能为空")
    private Integer platformNotDivideIntoNum;

    @ApiModelProperty(value = "市值管理品牌不分成份数")
    @NotNull(message = "市值管理品牌不分成份数不能为空")
    private Integer daoNotDivideIntoNum;

    @ApiModelProperty(value = "分润类型 FIXED_PROPORTION:固定比例,SMELTER_SMELTER:谁熔炼归谁")
    @NotNull(message = "分润类型不能为空")
    private EcologyHatchShareProfitMethodConfTypeEnum type;

    @ApiModelProperty(value = "是否开启共振 固定比例时不开启")
    private Boolean resonanceStatus;

    @ApiModelProperty(value = "共振服务中心DaoId")
    private Long resonanceServiceCenterDaoId;

    @ApiModelProperty(value = "共振服务中心系数")
    private List<ResonanceServiceCenterCoefficientConfDTO> resonanceServiceCenterCoefficientConfDTOList;

    @ApiModelProperty(value = "生态配置详情")
    @NotNull(message = "生态配置详情列表不能为空")
    @Size(min = 1, message = "生态配置详情列表不能为空")
    private List<ADDEcologyIncomeDetailsConfDTO> confDetailsList;
}
